<?php
 
class articuloComponents extends sfComponents
{
  public function executeMenuppal()
  {
    $q = Doctrine_Query::create()
    ->from('Categoria c ')
    ->orderBy('c.orden asc');
    
    $this->categorias = $q->execute();    
  }
}